package com.hyb.mapper;

import com.hyb.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface UserMapper {
    List<User> selectAll(Map maps);
    User selectById(int id);
    User selectByName(String username);
    void deleteById(int id);
    int count();
    void addUser(Map user);
    void updataUser(User user);
    List<User> selectAllExcludeById(int id);
}
